package com.sky.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
//医师预约数据类型
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PeopleTeacher {
    @TableId(type = IdType.AUTO)
    //主键ID
    private Long id;
    //用户ID
    private Long peoId;
    //医师ID
    private Long terId;
    //医师姓名
    private String terName;
    //医师电话
    private String terPhone;
    //预约时间
    private LocalDate resTime;
}
